import request from '../components/utils/request';

export default {
	/**
   * 1.登录
   * @loginFrom {*} loginFrom 
   * @returns 
   */
	login(loginFrom) {
		return request({
			url: '/login',
			method: 'post',
			data: loginFrom
		});
	},
	/**
   * 找回密码
   * @findPasswordForm {*} findPasswordForm
   * @returns 
   */
	findPassword(findPasswordForm) {
		return request({
			url: '/findPassword',
			method: 'post',
			data: findPasswordForm
		});
	}
};
